package com.hzw.saas.api.rbac.query;

import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author zzl
 * @since 08/30/2021
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("更新角色参数")
public class RoleUpdateQuery extends RoleAddQuery {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色ID", required = true)
    @NotBlank(message = "角色ID不可为空")
    private String pid;

}
